<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
	<style>
		* {
			margin: 0;
			padding: 0;
		}
		
		.shape {
			width: 100px;
			height: 100px;
			background-color: #87CEEB;
			position: relative;
			left: 0;
			animation: moveAndTransform 3s;
		}

		@keyframes moveAndTransform {
			0% {

			}

			100% {
				left: calc(100% - 100px);
				/* 变为圆形 */
				border-radius: 50%;
				background-color: #0000FF;
			}
		}
	</style>
</head>

<body>
	<div class="shape"></div>
</body>

</html>